package com.qikux.entity;

import com.qikux.annotation.Column;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.time.LocalDateTime;
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
public class ResourceCollection extends Entity{

    /**
     * 资源id
     */
    @Column("res_id")
    private Long resId;

    /**
     * 用户id
     */
    @Column("user_id")
    private Long userId;

    /**
     * 收藏时间
     */
    @Column("collection_time")
    private LocalDateTime collectionTime;
}
